- 
		Home
	
 
	- 
Online Scheduling and Appointment Booking System – Bookly
 
- 
21.7
 
- 
Code
 
- 
Classes
 
-  Payment 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											112 | 
										
																			
											| Dependencies | 
											17 | 
										
																			
											| Dependents | 
											25 | 
										
																	
							 
													
								
																			
											| Total lines | 
											825 | 
										
																			
											| Lines of code | 
											403 | 
										
																			
											| Logical lines of code | 
											194 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											238 | 
										
																			
											| Methods | 
											40 | 
										
																			
											| Properties | 
											18 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 40
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| setDetailsFromOrder() | 
									C  | 
																	32 | 
													24 | 
													96 | 
							
					
				| getPaymentData() | 
									B  | 
																	36 | 
													19 | 
													69 | 
							
					
				| typeToString() | 
									A  | 
																	48 | 
													15 | 
													34 | 
							
					
				| statusToString() | 
									S  | 
																	57 | 
													5 | 
													18 | 
							
					
				| typeToImage() | 
									S  | 
																	57 | 
													5 | 
													16 | 
							
					
				| save() | 
									S  | 
																	60 | 
													4 | 
													13 | 
							
					
				| typeToProduct() | 
									S  | 
																	62 | 
													4 | 
													12 | 
							
					
				| paymentInfo() | 
									S  | 
																	59 | 
													3 | 
													13 | 
							
					
				| getTypes() | 
									S  | 
																	61 | 
													1 | 
													18 | 
							
					
				| setCartInfo() | 
									S  | 
																	66 | 
													2 | 
													9 | 
							
					
				| getCouponId() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setCouponId() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| getGiftCardId() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setGiftCardId() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| getTarget() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setTarget() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| getType() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setType() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| getTotal() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setTotal() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| getTax() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setTax() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| getPaid() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setPaid() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| getGatewayPriceCorrection() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setGatewayPriceCorrection() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| getPaidType() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setPaidType() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| getStatus() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setStatus() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| getToken() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setToken() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| getDetails() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setDetails() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| getRefId() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setRefId() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| getCreatedAt() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setCreatedAt() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| getUpdatedAt() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| setUpdatedAt() | 
									S  | 
																	77 | 
													1 | 
													4 |